//
//  CustomSegue.swift
//  CustomSegue
//
//  Created by 李煜 on 2022/9/23.
//https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/UsingSegues.html#//apple_ref/doc/uid/TP40007457-CH15-SW1

import UIKit

class CustomSegue: UIStoryboardSegue {

  override init(identifier: String?, source: UIViewController, destination: UIViewController) {
    super.init(identifier: identifier, source: source, destination: destination)
  }
  override func perform() {
    //自定义转场
    source.present(destination, animated: true)
  }

}
